package com.chx.rpc03;

import com.chx.api.UserService;
import com.chx.dto.User;

import java.io.IOException;

public class Client {

    public static void main(String[] args) throws IOException {
        UserService stub = Stub.getStub();
        User user = stub.findUserById(1456);
        System.out.println(user);
    }
}
